<template>
  <i18n-t
    keypath="content.subscribe.success"
    tag="div"
    class="popup-dialog-text font-size-14 font-weight-400 line-height-140 text-center"
  >
    <template #nickname>
      <span class="text-primary">{{ content?.nickname }}</span>
    </template>
    <template #content>
      <span class="text-primary">{{ $t('content.subscribe.allContent') }}</span>
    </template>
  </i18n-t>
</template>

<script setup>
import { storeToRefs } from 'pinia'
import { usePopupDialogStore } from '@/store/popup-dialog'
import { useConfirmData } from '@/compositions/dialog/confirm-data'

const popupDialogStore = usePopupDialogStore()
const { content } = storeToRefs(popupDialogStore)

useConfirmData(() => {
  return true
})
</script>
